import {
  primary,
  success,
  warning,
  danger,
  warning1,
} from "@/styles/variables.scss";
export const jobStatus = () => {
  return [
    {
      label: "全部",
      value: "",
    },
    {
      label: "待派发",
      class: "danger-bg",
      icon: "el-icon-warning-outline",
      color: warning,
      value: 11,
    },
    {
      label: "审批中",
      class: "primary-bg",
      icon: "el-icon-d-arrow-right",
      color: primary,
      value: 1,
    },
    {
      label: "已通过",
      class: "success-bg",
      icon: "el-icon-circle-check",
      color: success,
      value: 2,
    },
    {
      label: "已驳回",
      icon: "el-icon-warning-outline",
      class: "warning-bg",
      color: warning,
      value: 3,
    },
    {
      label: "已撤销",
      class: "primary-bg",
      icon: "el-icon-circle-check",
      color: primary,
      value: 4,
    },
    {
      label: "通过后撤销",
      class: "primary-bg",
      icon: "el-icon-circle-check",
      color: primary,
      value: 6,
    },
    {
      label: "已删除",
      icon: "el-icon-warning-outline",
      class: "primary-bg",
      color: warning,
      value: 7,
    },
  ];
};

export const jobState = () => {
  return [
    {
      label: "全部",
      value: "",
    },
    {
      label: "进行中",
      class: "primary-bg",
      icon: "el-icon-d-arrow-right",
      color: primary,
      value: "ACTIVE",
    },
    {
      label: "已完成",
      class: "success-bg",
      icon: "el-icon-circle-check",
      color: success,
      value: "COMPLETED",
    },
  ];
};

export const psychzState = () => {
  return [
    {
      label: "未处理",
      class: "warning1-bg",
      icon: "el-icon-warning-outline",
      color: warning1,
      value: "ACTIVE",
    },
    {
      label: "已完成",
      class: "success-bg",
      icon: "el-icon-circle-check",
      color: success,
      value: "COMPLETED",
    },
  ];
};

export const nodeStatus = () => {
  return [
    {
      label: "全部",
      value: "",
    },
    {
      label: "提单",
      class: "primary-bg",
      icon: "el-icon-info",
      color: primary,
      value: 1,
    },
    {
      label: "同意",
      class: "success-bg",
      icon: "el-icon-success",
      color: success,
      value: 2,
    },
    {
      label: "驳回",
      class: "warning-bg",
      icon: "el-icon-error",
      color: danger,
      value: 3,
    },
    {
      label: "转审",
      class: "primary-bg",
      icon: "el-icon-remove",
      color: primary,
      value: 4,
    },
    {
      label: "催办",
      class: "danger-bg",
      icon: "el-icon-warning",
      color: warning,
      value: 5,
    },
    {
      label: "撤销",
      class: "danger-bg",
      icon: "el-icon-error",
      color: danger,
      value: 6,
    },
    {
      label: "通过后撤销",
      class: "danger-bg",
      icon: "el-icon-error",
      color: danger,
      value: 8,
    },
    {
      label: "添加备注",
      class: "primary-bg",
      icon: "el-icon-warning",
      color: primary,
      value: 10,
    },
  ];
};
